package com.sdx.exception;

/**
 * @ClassName SdxException
 * @Description: 自定义异常类
 * @author: tanbaocai
 * @date: 2018/8/8 9:32
 */
public class SdxException extends Exception {
	private SdxError sdxError;

	public SdxException(SdxError sdxError, String errorMessage) {
		super(errorMessage);
		this.sdxError = sdxError;
	}

	public SdxError getSdxError() {
		return sdxError;
	}

	public void setSdxError(SdxError sdxError) {
		this.sdxError = sdxError;
	}
}

